<? if ($c = stack('name')) { 

	if ($u = component_settings($c, 'url')) {
	
		header("HTTP/1.1 301 Moved Permanently");
		header("Location: $u");

		exit;
	}
	
	unstack();
}